package com.ruibang.glass.material.domain.req;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.teaming.cloud.framework2.common.pojo.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @Author: songJinKang
 * @CreateTime: 2024-03-26  14:34
 * @Description: TODO
 * @Version: 1.0
 */
@Data
public class ContainerTransferRecordReq extends PageRequest {
    @ApiModelProperty(value = "容器编码")
    private String containerCode;
    @ApiModelProperty(value = "容器类型:1：A型架，2：水平托盘，3：料罐")
    private String containerType;
    @ApiModelProperty(value = "仓库ID")
    private String warehouseId;
    @ApiModelProperty(value = "库位ID")
    private String warehousePositionId;
    @ApiModelProperty(value = "状态ID")
    private String statusId;
    @ApiModelProperty(value = "转移用户的名称")
    private String transferUserName;
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}
